<div class="main-container">
    <div class="main-content">
        <nz-card [nzTitle]="listTypeTitle" class="main-card" [nzExtra]="headerTemplate">
            <ng-container *ngIf="detailTableType === 'normal'">
                <app-detail-table1></app-detail-table1>
            </ng-container>
            <ng-container *ngIf="detailTableType === 'nxgs'">
                <app-detail-table-qs></app-detail-table-qs>
            </ng-container>
            <ng-container *ngIf="detailTableType === 'qhq'">
                <app-detail-table-qhq></app-detail-table-qhq>
            </ng-container>
            <ng-container *ngIf="detailTableType === 'qxq'">
                <app-detail-table-qxq></app-detail-table-qxq>
            </ng-container>
        </nz-card>

        <ng-template #headerTemplate>
            <div class="header-wrap">
                <button nz-button nzType="primary" (click)="goBack()">返回</button>
            </div>
        </ng-template>
    </div>
</div>
